//ifdef nodejs
import { Blob, FormData } from "formdata-node";
import fetch, { Headers } from "node-fetch";
//endif
const window = globalThis.window;
const _Blob = (window && window.Blob) || Blob;
const _fetch = (window && window.fetch) || fetch;
const _Headers = (window && window.Headers) || Headers;
const _FormData = (window && window.FormData) || FormData;

export {
    _Blob as Blob,
    _fetch as fetch,
    _Headers as Headers,
    _FormData as FormData,
};
